/*********************************************************************************
Organization 					: 				Georgia Institute of Technology
  
Institute 						:				Cognitive Computing Group(CCL)
 
Authors							: 				Manish Mehta 
 												
Class							:				IdleData
 
Function						: 				A class for holding the idle data 
												for a unit being idle
****************************************************************************/
package behavioradaptation.analysisdata;

import base.WargusUnit;

public class IdleData {
	// Starting Index in the trace when the unit 
	// starting being idle 
	private int m_startIndex;
	// Ending Index in the trace when the unit 
	// ended being idle 
	private int m_endIndex;
	// the unit that was idle
	private WargusUnit m_idleUnit;
	// Corresponding Cycle values for when the 
	// unit started being idle and ended being idle 
	private double m_startCycle;
	private double m_endCycle;
	public IdleData(int a_startIndex, int a_endIndex, double a_startCycle, double a_endCycle, WargusUnit a_idleUnit)
	{
		m_startIndex = a_startIndex;
		m_endIndex = a_endIndex;
		m_startCycle = a_startCycle;
		m_endCycle = a_endCycle;
		m_idleUnit = a_idleUnit;
	}
	public int getStartIndex()
	{
		return m_startIndex;
	}
	public int getEndIndex()
	{
		return m_endIndex;
	}
	public double getStartCycle()
	{
		return m_startCycle;
	}

	public double getEndCycle()
	{
		return m_endCycle;
	}
	public WargusUnit getUnit()
	{
		return m_idleUnit;
	}
	public void setStartIndex(int a_startIndex)
	{
		m_startIndex = a_startIndex;
	}
	public void setEndIndex(int a_endIndex)
	{
		m_endIndex = a_endIndex;
	}
	public void setStartCycle(double a_startCycle)
	{
		m_startCycle = a_startCycle;
	}

	public void setEndCycle(double a_endCycle)
	{
		m_endCycle = a_endCycle;
	}
	public void setUnit(WargusUnit a_idleUnit)
	{
		m_idleUnit = a_idleUnit;
	}
	
}
